home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20041116-20060924
/
000086_fdc@columbia.edu_Tue Apr 19 18:14:24 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2006-09-27
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: calling kermit script through JSP page
Date: 14 Apr 2005 13:20:19 GMT
Organization: Columbia University
Lines: 22
Message-ID: <slrnd5srgj.prb.fdc@sesame.cc.columbia.edu>
References: <1113465443.874463.62130@l41g2000cwc.googlegroups.com> <1113479713.511365.146780@l41g2000cwc.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1113484819 6097 128.59.59.56 (14 Apr 2005 13:20:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 Apr 2005 13:20:19 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15322
On 2005-04-14, vikrant.shahir@gmail.com <vikrant.shahir@gmail.com> wrote:
: Well i got the solution for the above problem
: the solution was :
: "set line /dev/ttyS0" ...was not working because the jsp page was not
: having permissions to LOCK the /ttyS0 (i.e. comm1)port.
: i.e. the file /var/lock was not having sufficient permissions.
:
This is documented in the manual, and also here:
http://www.columbia.edu/kermit/ckuins.html#x10
(Sections 10 and 11).
Also, as noted in the script-writing tutorial:
http://www.columbia.edu/kermit/ckscripts.html
any command that can fail should be followed by an IF FAIL command that
catches the failure, so that the script does not continue executing as
if the failed command had succeeded.
- Frank